<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Beginner web developer blog</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?php $this->headLink()->prependStylesheet('/css/style.css'); ?>
<?php $this->headScript()->prependFile('/js/cufon-yui.js'); ?>
<?php $this->headScript()->prependFile('/js/cuf_run.js'); ?>
<?php $this->headScript()->prependFile('/js/arial.js'); ?>
<?php echo $this->headLink(); ?>
<?php echo $this->headScript(); ?>
</head>
<body>
<div class="main">
  <div class="header">
    <div class="header_resize">
      <div class="logo">
        <h1><a href="index.html">Bogdan Solomykin</a> <small>Beginner web developer blog</small></h1>
      </div>
      <div class="menu_nav">
        <ul>
          <li>
              <?php echo '<a href="'.$this->url(array(
                    'module'     => 'default',
                    'controller' => 'index',
                    'action'     => 'index'
              )).'">Главная</a>'; ?>
          </li>
          <li>
              <?php echo '<a href="'.$this->url(array(
                    'module'     => 'default',
                    'controller' => 'index',
                    'action'     => 'about'
              )).'">Об авторе</a>'; ?>
          </li>
          <li>
              <?php echo '<a href="'.$this->url(array(
                    'module'     => 'default',
                    'controller' => 'index',
                    'action'     => 'contacts'
              )).'">Контакты</a>'; ?>
          </li>
          <?php 
          if (Zend_Auth::getInstance()->hasIdentity()) {
              if (Zend_Auth::getInstance()->getIdentity()->role === 'admin') { 
                  echo '<li><a href="'.$this->url(array(
                        'module'     => 'admin',
                        'controller' => 'index',
                        'action'     => 'index'
                  )).'">Admin</a></li>';
              }
          } 
          ?>
        </ul>
      </div>
      <div class="clr"></div>
    </div>
  </div>
  <div class="content">
    <div class="content_resize">
	
     <!-- NEWZ BLOCK -->
      <div class="mainbar">
	  
	  <?php echo $this->layout()->content; ?> 
	  
        
      </div>
	  
	  <!-- SIDEBARS -->
      <div class="sidebar">
        <div class="searchform">
          <form id="formsearch" name="formsearch" method="post" action="#">
            <span>
            <input name="editbox_search" class="editbox_search" id="editbox_search" maxlength="80" value="" type="text" />
            </span>
            <input name="button_search" src="/images/search_btn.gif" class="button_search" type="image" />
          </form>
        </div>
		
		<!-- CATEGORIES -->
        <div class="gadget">
          <h2 class="star"><span>Категории</span></h2>
          <div class="clr"></div>
          <ul class="sb_menu">
            <li><a href="#">PHP</a></li>
            <li><a href="#">Zend</a></li>
            <li><a href="#">JS</a></li>
            <li><a href="#">Jquery</a></li>
            <li><a href="#">Gmaps</a></li>
			<li><a href="#">Юмор</a></li>
			<li><a href="#">Другое</a></li>
          </ul>
        </div>
		
		<!-- MOST POPULARITY -->
        <div class="gadget">
          <h2 class="star"><span>Самое популярные</span></h2>
          <div class="clr"></div>
          <ul class="ex_menu">
            <li><a href="#">Lorem ipsum dolor</a><br />
              Donec libero. Suspendisse bibendum</li>
            <li><a href="#">Donec mattis</a><br />
              Phasellus suscipit, leo a pharetra</li>
            <li><a href="#">Dui pede condimentum</a><br />
              Tellus eleifend magna eget</li>
            <li><a href="#">Condimentum lorem</a><br />
              Curabitur vel urna in tristique</li>
            <li><a href="#">Fringilla velit magna</a><br />
              Cras id urna orbi tincidunt orci ac</li>
            <li><a href="#">Suspendisse bibendum</a><br />
              purus nec placerat bibendum</li>
          </ul>
        </div>
		
		<!-- LAST COMMENTS -->
		<div class="gadget">
          <h2 class="star"><span>Последние комментарии</span></h2>
          <div class="clr"></div>
          <ul class="ex_menu">
            <li><a href="#">Lorem ipsum dolor</a><br />
              Donec libero. Suspendisse bibendum</li>
            <li><a href="#">Donec mattis</a><br />
              Phasellus suscipit, leo a pharetra</li>
            <li><a href="#">Dui pede condimentum</a><br />
              Tellus eleifend magna eget</li>
            <li><a href="#">Condimentum lorem</a><br />
              Curabitur vel urna in tristique</li>
            <li><a href="#">Fringilla velit magna</a><br />
              Cras id urna orbi tincidunt orci ac</li>
            <li><a href="#">Suspendisse bibendum</a><br />
              purus nec placerat bibendum</li>
          </ul>
        </div>
		
      </div>
	  <!-- END SIDEBARS -->
	  
      <div class="clr"></div>
    </div>
  </div>
  
  <!-- FOOTER -->
  <div class="fbg">
    <div class="fbg_resize">
      <div class="col c1">
        <h2><span>Категории</span></h2>
        <ul style="list-style:none;">
            <li>PHP</li>
            <li>Zend</li>
            <li>JS</li>
            <li>Jquery</li>
            <li>Gmaps</li>            
        </ul>
      </div>
      <div class="col c2">
          <h2><span>Информация</span></h2>
          <ul style="list-style:none;">
            <li>Главная</li>
            <li>Посты</li>
            <li>Заметки</li>
            <li>Об авторе</li>
            <li>Контакты</li>
          </ul>        
      </div>
      <div class="col c3">
        <h2><span>Contact</span></h2>
        <p>Twitter</p>
        <p>mymail@mail.com</p>        
      </div>
      <div class="clr"></div>
    </div>
  </div>
  <div class="footer">
    <div class="footer_resize">
      <p class="lf">Строчка про копирайт &copy; </p> 
      <p class="rf">Спасибо <a target="_blank" href="http://www.free-css.com/">вот этим ребятам</a> за шаблон, ибо верстать было лень :)</p>
      <div class="clr"></div>
    </div>
  </div>
</div>
</body>
</html>
